# -*- coding: utf-8 -*-
# @Time : 2020/8/15 22:46
# @Author : yongf
# @File : test.py
# @Software: PyCharm


from utils.Common import *

url = 'https://detail.tmall.com/item.htm?spm=a220m.1000858.1000725.1.28c6112eyesxxo&id=601089539292&skuId=4371738507941&standard=1&user_id=201749140&cat_id=2&is_b=1&rn=fae78aa1a65654dc54de217176fe7aa7'
# url = 'http://www.baidu.com'
proxies = {
    'https': 'https://113.194.30.52:9999',
    'http': 'http://113.194.30.52:9999'
}
html = openUrl(url, proxies=proxies, charset='gbk')
print(html)
